//
//  layerDelegate.h
/*
 Copyright 2009 Jack Whitsitt
 Conact: sintixerr@gmail.com | http://sintixerr.wordpress.com
 
 This file is part of "pkviz".
 
 "pkviz" is free software: you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
 the Free Software Foundation, either version 3 of the License, or
 (at your option) any later version.
 
 "pkviz" is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 GNU General Public License for more details.
 
 You should have received a copy of the GNU General Public License
 along with "pkviz".  If not, see <http://www.gnu.org/licenses/>.
 */ 

#import <Cocoa/Cocoa.h>
//#import "transformData.h"
#include <stdlib.h>

@interface layerDelegate : NSObject {

	//IBOutlet transformData *theTransformer;
	NSArray *currentPacket;
	int delme_count;
	int pknum;
	int totalLayers;
	int expandHeaders;
	
	NSMutableArray *max_byte_count;
	NSMutableArray *byte_val;
	NSMutableArray *byte_pos_for_val;
	NSMutableArray *avgpos;
	NSMutableArray *poscount;
	
	float byte_valpos_count;
}

//+(void) initialize;
- (void)drawInRect:(CGRect)b inContext:(CGContextRef)ctx;
- (void)readyNextPacket:(NSArray *)pk withIter:(int)iter andLayerCount:(int)maxLayers andHeadersExpanded:(int)headexp;

/* ====Layer Delegate Methods====
- (void)drawLayer:(CALayer *)layer inContext:(CGContextRef)ctx
*/
 
 @end
